#!/usr/bin/env python

from setuptools import setup


def get_version():
    with open("debian/changelog", "r", encoding="utf-8") as f:
        return f.readline().split()[1][1:-1]


setup(
    name="wb-welrok",
    version=get_version(),
    author="Ivan Belokrylov",
    author_email="belokrylov.i@welrok.com",
    maintainer="Welrok",
    maintainer_email="info@welrok.com",
    description="Wiren Board MQTT Driver for Welrok thermostat",
    packages=["wb_welrok"],
    entry_points={
        'console_scripts': ['wb_welrok = wb_welrok.main:main']
    },
    license="MIT",
    install_requires=[
        'rpds-py==0.5.3',
        'aiohttp',
        'aiosignal',
        'attrs',
        'bidict',
        'certifi',
        'charset-normalizer',
        'frozenlist',
        'h11',
        'idna',
        'multidict',
        'paho-mqtt',
        'paho-socket',
        'python-engineio',
        'referencing',
        'requests',
        'rpds-py',
        'simple-websocket',
        'urllib3',
        'wsproto',
        'yarl',
        'jsonschema'
    ]
)
